﻿using System.Collections.Generic;
using Data.implement;

namespace Data
{
    class CarRepositery : DataAccessBase<LYWebsiteSEntities1>, ICarRepositery
    {
        private static readonly log4net.ILog log =
            log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
        public List<Car> GetCars()
        {
            log.Info("CarRepositery.GetCars()");
            return GetAllRecord<Car>();
        } 
    }
}